package com.mall.client.eshop;

import com.mall.pojo.EshopCompany;

public interface EshopCompanyService {
	/**
	 * 插入店铺所属公司
	 * @param eshopCompany
	 * @return
	 */
	public int insertEshopCompanyByEshopCompany(EshopCompany eshopCompany);
	
	/**
	 * 修改店铺所属公司信息
	 * @param eshopCom
	 * @param eshopCompany
	 * @return
	 */
	public int modifyEshopCompanyByEshopCompany(EshopCompany eshopCompany,EshopCompany existEshopCompany);
	
	public int modifyEshopCompanyByKey(EshopCompany eshopCompany);
	
	/**
	 * 删除店铺所属公司
	 * @param eshopCom
	 * @param id
	 * @return
	 */
	public int deleteEshopCompanyByEshopCompanyById(Long id);
	
	/**
	 * 获得店铺所属公司
	 * @param eshopCom
	 * @param id
	 * @return
	 */
	public EshopCompany getEshopCompanyByEshopCompanyId(Long id);
	
}
